go/printer.printer.comments (field)
12 uses
go/printer (current package)
nodes.go#L76: if p.comments == nil {
nodes.go#L78: p.comments = make([]*ast.CommentGroup, 1)
nodes.go#L79: } else if p.cindex < len(p.comments) {
nodes.go#L84: p.comments = p.comments[0:1]
nodes.go#L88: p.comments[0] = g
printer.go#L83: comments []*ast.CommentGroup // may be nil
printer.go#L135: for p.cindex < len(p.comments) {
printer.go#L136: c := p.comments[p.cindex]
printer.go#L1117: p.comments = comments[i:j]
printer.go#L1121: p.comments = n.Comments
printer.go#L1125: p.useNodeComments = p.comments == nil
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)